package tools;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public abstract class SessionMother {

	@PersistenceContext
	protected EntityManager em;
	
	protected String entityName;
	
	protected Class<?> entityClass;
	
	protected void initialize(String entityName, Class<?> entityClass) {
		this.entityClass = entityClass;
		this.entityName = entityName;
	}
}